#ifndef BK_H
#define BK_H
#include "../main_head.h"

class BK
{
private:
	GLfloat position[20] = {
		// Positions     //      // Texture Coords
		 1.7f,  1.0f, 0.0f,   1.0f, 1.0f, // Top Right
		 1.7f, -1.0f, 0.0f,  1.0f, 0.0f, // Bottom Right
		-1.0f, -1.0f, 0.0f,  0.0f, 0.0f, // Bottom Left
		-1.0f,  1.0f, 0.0f,  0.0f, 1.0f, // Top Left
	};
	GLuint indices[6] = {  // Note that we start from 0!
		0, 1, 3, // First Triangle
		1, 2, 3  // Second Triangle
	};	
	GLuint VBO, VAO, EBO, Program, texture, control = 0;
	GLboolean live = 1;
	void move(GLboolean is_live);
public:
	void set_control(GLuint _control) { control = _control; }
	void set_live(GLboolean _live) { live = _live; }
	BK(GLint _program);
	void set_live(GLint _live);
	void load_image();
	void load_coord();
	void draw(GLboolean start);
	void burn();
};
#endif